def dec_maker(n):

    def dec(func):
        func.extra_info = 'n: %s' % n
        return func

    return dec


@dec_maker(n=101)
def add(num1, num2):
    return num1 + num2


@dec_maker(n=202)
def multiply(num1, num2):
    return num1 * num2


print(add.__dict__)
print(multiply.__dict__)
